html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}
body,
td {
  font-size: 14px;
}
table.layout {
  border: 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
table.form table.layout tr td {
  padding: 0;
}
footer .weui_btn + .weui_btn {
  margin-top: 0;
}
main {
  overflow-y: auto;
}
.weui_btn_default.g-active:not(.weui_btn_disabled) {
  color: #A1A1A1;
  background-color: #DEDEDE;
}
.weui_btn_primary.g-active:not(.weui_btn_disabled) {
  color: rgba(255, 255, 255, 0.4);
  background-color: #039702;
}
.weui_dialog_ft a.g-active {
  background-color: #EEEEEE;
}
.weui_btn_mini:after {
  display: none;
}
.action {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/**/
body {
  position: relative;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
}
header {
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}
main {
  -webkit-flex: 1;
          flex: 1;
}
footer {
  background-color: white;
  display: -webkit-flex;
  display: flex;
  -webkit-align-content: center;
          align-content: center;
  -webkit-align-items: center;
          align-items: center;
  padding: .65em .65em;
  overflow: hidden;
  box-sizing: border-box;
}
footer .btn {
  -webkit-flex: 1;
          flex: 1;
  margin: 0 .3em;
}
.weui_mask {
  background-color: rgba(0, 0, 0, 0.5);
}
#ui_loader .weui_toast {
  position: fixed;
  z-index: 50000;
  width: 7.6em;
  height: 7.6em;
  top: 50%;
  left: 50%;
  margin-left: -3.8em;
  margin-top: -3.8em;
  background: none;
  text-align: center;
  border-radius: 50%;
}
.weui_navbar {
  position: relative;
}
.weui_navbar_item {
  background-color: #eaeaea;
  color: #888;
}
.weui_navbar_item.weui_bar_item_on {
  background-color: white;
  color: #444;
}
.weui_fade_toggle {
  background: rgba(0, 0, 0, 0.5);
}
#page-loading {
  position: absolute;
  z-index: 999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
#page-loading .spinner {
  font-size: 48px;
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}
#page-loading .spinner.center {
  position: absolute;
  left: 50%;
  top: 44%;
  margin-left: -20px;
  margin-top: -32px;
}
#page-loading .spinner .spinner-blade {
  position: absolute;
  left: 0.4em;
  bottom: 0;
  width: 0.044em;
  height: 0.18em;
  border-radius: 0.0555em;
  background-color: transparent;
  -webkit-transform-origin: center -0.14em;
          transform-origin: center -0.14em;
  -webkit-animation: spinner-fade 1s infinite linear;
          animation: spinner-fade 1s infinite linear;
}
#page-loading .spinner .spinner-blade:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
#page-loading .spinner .spinner-blade:nth-child(2) {
  -webkit-animation-delay: 0.083s;
          animation-delay: 0.083s;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
}
#page-loading .spinner .spinner-blade:nth-child(3) {
  -webkit-animation-delay: 0.166s;
          animation-delay: 0.166s;
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
}
#page-loading .spinner .spinner-blade:nth-child(4) {
  -webkit-animation-delay: 0.249s;
          animation-delay: 0.249s;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
#page-loading .spinner .spinner-blade:nth-child(5) {
  -webkit-animation-delay: 0.332s;
          animation-delay: 0.332s;
  -webkit-transform: rotate(120deg);
          transform: rotate(120deg);
}
#page-loading .spinner .spinner-blade:nth-child(6) {
  -webkit-animation-delay: 0.415s;
          animation-delay: 0.415s;
  -webkit-transform: rotate(150deg);
          transform: rotate(150deg);
}
#page-loading .spinner .spinner-blade:nth-child(7) {
  -webkit-animation-delay: 0.498s;
          animation-delay: 0.498s;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
#page-loading .spinner .spinner-blade:nth-child(8) {
  -webkit-animation-delay: 0.581s;
          animation-delay: 0.581s;
  -webkit-transform: rotate(210deg);
          transform: rotate(210deg);
}
#page-loading .spinner .spinner-blade:nth-child(9) {
  -webkit-animation-delay: 0.664s;
          animation-delay: 0.664s;
  -webkit-transform: rotate(240deg);
          transform: rotate(240deg);
}
#page-loading .spinner .spinner-blade:nth-child(10) {
  -webkit-animation-delay: 0.747s;
          animation-delay: 0.747s;
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}
#page-loading .spinner .spinner-blade:nth-child(11) {
  -webkit-animation-delay: 0.83s;
          animation-delay: 0.83s;
  -webkit-transform: rotate(300deg);
          transform: rotate(300deg);
}
#page-loading .spinner .spinner-blade:nth-child(12) {
  -webkit-animation-delay: 0.913s;
          animation-delay: 0.913s;
  -webkit-transform: rotate(330deg);
          transform: rotate(330deg);
}
@-webkit-keyframes spinner-fade {
  0% {
    background-color: #69717d;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes spinner-fade {
  0% {
    background-color: #69717d;
  }
  100% {
    background-color: transparent;
  }
}
.template {
  display: none!important;
}
a.weui_actionsheet_cell {
  display: block;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: inherit;
  outline: none;
}
a.weui_actionsheet_cell.g-active {
  background-color: #ececec;
}
.weui_dialog_confirm.prompt input {
  width: 100%;
  box-sizing: border-box;
  line-height: 26px;
  padding: 0 5px;
  margin-top: 6px;
  border: solid 1px silver;
}
header .btn-back {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  bottom: 0;
  background: url('../img/ui/back1.png') no-repeat 14px center;
  background-size: 10px 17px;
}
#dlgPrompt.shrink .weui_dialog {
  top: 30%;
  transition-property: top;
  transition-duration: 0.1s;
}
body.shrink {
  height: 50%;
}
body.shrink footer {
  margin-bottom: 4px;
}
